import http from './http.js'
// 获取首页banner数据
export const getBanner=()=>{
	return http('/user/getBanner')
}
// 获取首页瀑布流列表数据
export const getHomeList=()=>{
	return http('/user/getHomeList')
}
// 用户登陆鉴权
export const login=(code)=>{
	return http('/login',{code},'POST')
}
//获取用户信息
export const getUserInfo=()=>{
	return http('/getUserInfo')
}
//获取游玩项目信息
export const getDetailProject=()=>{
	return http('/detail/project')
}
// 获取游玩推荐详情信息 
export const getProjectInfo=(data)=>{
	return http('/project/info',data)
}
//获取like页面数据
export const likeList=()=>{
	return http('/like/list')
}